package com.chen.authserver.constant;

public interface RespCode {

    String SUCCESS = "000000";
    String FAILURE = "900000";

    String REQUEST_WITHOUT_TOKEN_CODE = "930000";
    String REQUEST_WITHOUT_TOKEN_MSG = "request error : request without token. Sign in at first please.";

    String TOKEN_VALIDATE_FAIL_CODE = "930001";
    String TOKEN_VALIDATE_FAIL_MSG = "request error : illegal token.";

    // 账号密码验证失败
    String ACCOUNTPWD_VERIFY_FAIL_CODE = "910000";
    String ACCOUNTPWD_VERIFY_FAIL_MSG = "账号密码验证失败，账号不存在或者密码错误！";

    // 账号密码验证失败
    String LOGININFO_VERIFY_FAIL_CODE = "910001";
    String LOGININFO_VERIFY_FAIL_MSG = "登录信息验证失败！";

    String ACCOUNT_VERIFY_FAIL_CODE = "910002";
    String ACCOUNT_VERIFY_FAIL_MSG = "账号不符合要求";

    String EMAIL_VERIFY_FAIL_CODE = "910003";
    String EMAIL_VERIFY_FAIL_MSG = "邮箱格式不符合要求";

    String PHONENUM_VERIFY_FAIL_CODE = "910004";
    String PHONENUM_VERIFY_FAIL_MSG = "手机号格式不符合要求";

    String PWD_VERIFY_FAIL_CODE = "910005";
    String PWD_VERIFY_FAIL_MSG = "密码不符合要求";

    String IDCARD_VERIFY_FAIL_CODE = "910006";
    String IDCARD_VERIFY_FAIL_MSG = "身份证格式不符合要求";

    String ACCOUNT_EXISTED_CODE = "910007";
    String ACCOUNT_EXISTED_MSG = "账号已存在";

    String EMAIL_EXISTED_CODE = "910008";
    String EMAIL_EXISTED_MSG = "邮箱已存在";

    String PHONENUM_EXISTED_CODE = "910009";
    String PHONENUM_EXISTED_MSG = "电话号已存在";

    String IDCARD_EXISTED_CODE = "910010";
    String IDCARD_EXISTED_MSG = "身份证号已存在";

    String SIGNNFO_VERIFY_FAIL_CODE = "910011";
    String SIGNINFO_VERIFY_FAIL_MSG = "登录信息解析失败";
}
